package interfaces;

import entities.TSc;
import views.VScTransaction;

import java.util.Map;

import basic.QuerySet;
import basic.ResultSet;

public interface IScService {

	public Boolean exist(String primaryKey) throws Exception;
	
	public Boolean contain(Map<String,Object> paramMap) throws Exception;

	public TSc fetch(String primaryKey) throws Exception;
	
	public TSc single(Map<String,Object> paramMap) throws Exception;

	public TSc persist(TSc entityBean) throws Exception;

	public Integer remove(String primaryKey ) throws Exception;
	
	public Integer expunge(Map<String,Object> paramMap) throws Exception;
	
	public Double summary(QuerySet<Object> querySet) throws Exception;

	public Integer record(Map<String,Object> paramMap) throws Exception;

	public  ResultSet<TSc> search(QuerySet<Object> querySet) throws Exception;
	
	
	public Boolean possess(Map<String,Object> paramMap) throws Exception;
	
	public VScTransaction solely(Map<String,Object> paramMap) throws Exception;
	
	public Double collect(QuerySet<Object> querySet) throws Exception;
	
	public  ResultSet<VScTransaction> relate(QuerySet<Object> querySet) throws Exception;
	
	
}
